/**
 *  Copyright (C) 2023 - Fake Inc.
 *
 *  All Rights Reserved.

*/


#ifndef INNO_LIDAR_C_MODULE_H_
#define INNO_LIDAR_C_MODULE_H_
#include <stdint.h>

#define INNO_LOG_LEVEL_TRACE 0
#define INNO_LOG_LEVEL_DEBUG 1
#define INNO_LOG_LEVEL_INFO 2
#define INNO_LOG_LEVEL_WARN 3
#define INNO_LOG_LEVEL_ERROR 4
#define INNO_LOG_LEVEL_CRITICAL 5
#define INNO_LOG_LEVEL_OFF 6


typedef void (*InnoLogCallback)(const char* log_file, const char* log_func, int32_t log_line,
                                int32_t log_lv, const char* log_msg);

extern void register_callback(InnoLogCallback log_cb);
extern void start_c_module(void);


#endif  // INNO_LIDAR_C_MODULE_H_
